import request from '@/utils/request'


//获取手型列表
export const getHandList = (data) => {
    return request({
        url: 'admin/shape/getHandShapeList',
        method: 'get',
        params: data
    })
}

//增加手型
export const addHand = (data) => {
    return request({
        url: 'admin/shape/add',
        method: 'post',
        data
    })
}

//修改手型
export const editHand = (data) => {
    return request({
        url: 'admin/shape/edit',
        method: 'post',
        data
    })
}

//删除手型
export const deletaHand = (shapeId) => {
    return request({
        url: `admin/shape/del/${shapeId}`,
        method: 'post'
    })
}

//获取脸型列表
export const getFaceList = (data) => {
    return request({
        url: 'admin/shape/getFaceShapeList',
        method: 'get',
        params: data
    })
}